package com.yh.service.impl;

import com.yh.Dao.IBordDao;
import com.yh.Dao.Impl.BordDaoImpl;
import com.yh.service.IBordService;
import net.sf.json.JSONArray;

import java.util.List;

public class BordService  implements IBordService {
    IBordDao ibd=new BordDaoImpl();

    @Override
    public JSONArray keyWord(String tle) {
        List<String> list= ibd.keyWord(tle);
        JSONArray js=new JSONArray();
        js.addAll(list);
        return  js;
    }
}
